package com.nanyang.tms.api.dto.request.forecast;


import javax.validation.constraints.NotEmpty;

import org.hibernate.validator.constraints.Length;

import com.nanyang.common.core.domain.ApiRequest;

import lombok.Data;
@Data
public class ForecastReceiverAddRequest extends ApiRequest{
	private static final long serialVersionUID = 1L;
	@NotEmpty(message = "收货人姓名不能为空")
	@Length(max = 50, message = "收货人长度需小于50个字符")
	private String recipientName;
	@Length(max = 200, message = "收货人公司长度需小于200个字符")
    private String recipientCompanyName;
    @NotEmpty(message = "收货人邮箱不能为空")
    @Length(max = 50, message = "收货人邮箱长度需小于50个字符")
    private String email;
	@NotEmpty(message = "收货人地址不能为空")
	@Length(max = 512, message = "收货人地址长度需小于512个字符")    
    private String address;
	@Length(max = 40, message = "收货人税号长度需小于40个字符")
    private String taxNo;
	@Length(max = 50, message = "收货人电话长度需小于50个字符")
    private String tel;
	@Length(max = 10, message = "收货人邮编长度需小于10个字符")
    private String zipCode;
	@Length(max = 30, message = "收货人证件号长度需小于30个字符")
    private String idCode;
	@Length(max = 50, message = "收货人手机号长度需小于50个字符")
    private String mobile;
    @NotEmpty(message = "收货人州省编码不能为空")
    @Length(max = 5, message = "收货人州省编码长度需小于5个字符")
    private String provinceCode;
    @NotEmpty(message = "城市不能为空")
    @Length(max = 60, message = "收货人城市长度需小于60个字符")
    private String city ;
    @Length(max = 50, message = "收货人门牌号长度需小于50个字符")
    private String houseNo;
    @Length(max = 50, message = "收货人街道长度需小于50个字符")
    private String district;
    private long platformDictId; //电商平台数据字典ID
    @Length(max = 30, message = "电商平台卖家ID长度需小于30个字符")
    private String sellerId;
	@Override
	public void requestCheck() {
		// TODO Auto-generated method stub
		
	}

}
